﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 企业表
    /// </summary>
	[Table("FW_Company")]
    [Display(Name = "企业表", Description = "企业表")]
    [AutoMapFrom(typeof(ViewFWCompany))] 
    public partial class FWCompanyEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("CompanyGUID")]
        [Display(Name = "企业表主键", Description = "企业表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 企业名称
        /// </summary>
		[Display(Name = "企业名称", Description = "企业名称")]
        [Column("CompanyName")]
		[StringLength(256)]
        public string CompanyName { get; set; }   

		/// <summary>
        /// 企业介绍
        /// </summary>
		[Display(Name = "企业介绍", Description = "企业介绍")]
        [Column("CompanyDesc")]
		[StringLength(999999)]
        public string CompanyDesc { get; set; }   

		/// <summary>
        /// 企业Logo(上传图片)
        /// </summary>
		[Display(Name = "企业Logo(上传图片)", Description = "企业Logo(上传图片)")]
        [Column("CompanyLogoUrl")]
		[StringLength(512)]
        public string CompanyLogoUrl { get; set; }   

		/// <summary>
        /// 主账号用户的GUID
        /// </summary>
		[Display(Name = "主账号用户的GUID", Description = "主账号用户的GUID")]
        [Column("MainAccountUserGUID")]
        public Guid? MainAccountUserGUID { get; set; }   
    }
}
